//
//  TreeUIM.h
//  mbstore
//
//  Created by huangyi on 14-3-12.
//  Copyright (c) 2014年 huangyi. All rights reserved.
//

#import "AppUI.h"
#import "MBSearch.h"
@interface TreeUIM : AppUI <UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate>{
    NSDictionary *dicAllType;
//    NSIndexPath *selectPath;
}

- (IBAction)SelectClass:(UISegmentedControl *)sender;
@property (weak, nonatomic) IBOutlet UISegmentedControl *segType;
@property(nonatomic,weak)IBOutlet UITableView *tableView;
@property(nonatomic,weak)id delegate;
@property (weak, nonatomic) IBOutlet UISearchBar *searchBar;
- (IBAction)HideView:(id)sender;
@property (weak, nonatomic) IBOutlet UIView *vieType;
@property (nonatomic ,strong)NSString *strtype;

@end


@protocol TreeUIMDelegate <NSObject>

-(void)aTreeUIM:(TreeUIM*)uim onItemClick:(NSString*)items;

@end